home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / PowerPlant / LProgressIndicator & Friends / LProgressDialog / LSingleLineCaption.h < prev    next >
Encoding:
Text File  |  1996-04-21  |  765 b   |  33 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    LSingleLineCaption.cp                   ©1993-1995 Metrowerks Inc. All rights reserved.
  3. //                                            ©1996 Chris K. Thomas.
  4. // ===========================================================================
  5. //
  6. //    LCaption optimized for a single line of text.
  7. //
  8.  
  9. #pragma once
  10.  
  11. #include <LCaption.h>
  12.  
  13.  
  14. class LSingleLineCaption:
  15.     public LCaption
  16. {
  17. public:
  18.     enum { class_ID = 'Scpt' };
  19.     static LSingleLineCaption*    CreateCaptionStream(
  20.                                 LStream            *inStream);
  21.  
  22.                         LSingleLineCaption();
  23.                         LSingleLineCaption(
  24.                                 const LSingleLineCaption    &inCaption);
  25.                         LSingleLineCaption(
  26.                                 LStream            *inStream);
  27.     virtual                ~LSingleLineCaption();
  28.     
  29. protected:
  30.     
  31.     virtual void        DrawSelf();
  32. };
  33.